package com.seari.pojo;

import com.seari.bean.TaskBean;
import com.seari.utils.IdUtils;

/**
 * 设备检修计划实体类
 */
public class DevCheckRepairPlanPojo {
    /*
    工单号
     */
    private String taskNo;
    /*
    资材名称
     */
    private String productName;
    /*
    资材编号
     */
    private String productId;
    /*
    站点ID
     */
    private String stationId;
    /*
    站点名称
     */
    private String stationName;
    /*
    设备类型key
     */
    private String devTypeKey;
    /*
    设备类型value
     */
    private String devTypeValue;
    /*
    系统名称key
     */
    private String systemKey;
    /*
    系统名称value
     */
    private String systemValue;
    /*
    专业名称key
     */
    private String specialtyKey;
    /*
    专业名称value
     */
    private String specialtyValue;
    /*
    维修日期
     */
    private String maintenanceDate;
    /*
    维修内容
     */
    private String maintenanceContent;
    /*
     维修人ID
     */
    private String maintenancePerson;
    /*
    维修人姓名
     */
    private String maintenancePersonName;
    /*
    维修方式
     */
    private String  maintenanceFlag;
    /*
    工单状态
     */
    private String taskStatus;
    /*
    描述
     */
    private String remark;
    /*
    创建、修改人
     */
    private String userName;

    public TaskBean getTaskBean(){
        TaskBean taskBean = new TaskBean();
        taskBean.setId(IdUtils.getId());
        taskBean.setTaskNo(this.taskNo);
        taskBean.setProductId(this.productId);
        taskBean.setMaintenanceFlag(this.maintenanceFlag);
        taskBean.setMaintenancePerson(this.maintenancePerson);
        taskBean.setMaintenanceDate(this.maintenanceDate);
        taskBean.setMaintenanceContent(this.maintenanceContent);
        taskBean.setRemark(this.remark);
        taskBean.setCreateUser(this.userName);
        taskBean.setTaskStatus(this.taskStatus);
        taskBean.setFaultDes("");
        return taskBean;
    }

    public String getTaskNo() {
        return taskNo;
    }

    public void setTaskNo(String taskNo) {
        this.taskNo = taskNo;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getStationId() {
        return stationId;
    }

    public void setStationId(String stationId) {
        this.stationId = stationId;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    public String getDevTypeKey() {
        return devTypeKey;
    }

    public void setDevTypeKey(String devTypeKey) {
        this.devTypeKey = devTypeKey;
    }

    public String getDevTypeValue() {
        return devTypeValue;
    }

    public void setDevTypeValue(String devTypeValue) {
        this.devTypeValue = devTypeValue;
    }

    public String getSystemKey() {
        return systemKey;
    }

    public void setSystemKey(String systemKey) {
        this.systemKey = systemKey;
    }

    public String getSystemValue() {
        return systemValue;
    }

    public void setSystemValue(String systemValue) {
        this.systemValue = systemValue;
    }

    public String getSpecialtyKey() {
        return specialtyKey;
    }

    public void setSpecialtyKey(String specialtyKey) {
        this.specialtyKey = specialtyKey;
    }

    public String getSpecialtyValue() {
        return specialtyValue;
    }

    public void setSpecialtyValue(String specialtyValue) {
        this.specialtyValue = specialtyValue;
    }

    public String getMaintenanceDate() {
        return maintenanceDate;
    }

    public void setMaintenanceDate(String maintenanceDate) {
        this.maintenanceDate = maintenanceDate;
    }

    public String getMaintenanceContent() {
        return maintenanceContent;
    }

    public void setMaintenanceContent(String maintenanceContent) {
        this.maintenanceContent = maintenanceContent;
    }

    public String getMaintenanceFlag() {
        return maintenanceFlag;
    }

    public void setMaintenanceFlag(String maintenanceFlag) {
        this.maintenanceFlag = maintenanceFlag;
    }

    public String getTaskStatus() {
        return taskStatus;
    }

    public void setTaskStatus(String taskStatus) {
        this.taskStatus = taskStatus;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getMaintenancePerson() {
        return maintenancePerson;
    }

    public void setMaintenancePerson(String maintenancePerson) {
        this.maintenancePerson = maintenancePerson;
    }

    public String getMaintenancePersonName() {
        return maintenancePersonName;
    }

    public void setMaintenancePersonName(String maintenancePersonName) {
        this.maintenancePersonName = maintenancePersonName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
}
